package com.changgou.bean;



import java.io.Serializable;
import java.util.Objects;

public class User implements Serializable {

    private String USER_ID;
    private String USER_NAME;
    private String USER_PWD;
    private String IPONE_NUM;
    public User(){

    }
    public User(String USER_ID, String USER_NAME, String USER_PWD, String IPONE_NUM) {
        this.USER_ID = USER_ID;
        this.USER_NAME = USER_NAME;
        this.USER_PWD = USER_PWD;
        this.IPONE_NUM = IPONE_NUM;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        User user = (User) o;
        return Objects.equals(USER_ID, user.USER_ID) &&
                Objects.equals(USER_NAME, user.USER_NAME) &&
                Objects.equals(USER_PWD, user.USER_PWD) &&
                Objects.equals(IPONE_NUM, user.IPONE_NUM);
    }

    @Override
    public int hashCode() {
        return Objects.hash(USER_ID, USER_NAME, USER_PWD, IPONE_NUM);
    }

    public String getUSER_ID() {
        return USER_ID;
    }

    public void setUSER_ID(String USER_ID) {
        this.USER_ID = USER_ID;
    }

    public String getUSER_NAME() {
        return USER_NAME;
    }

    public void setUSER_NAME(String USER_NAME) {
        this.USER_NAME = USER_NAME;
    }

    public String getUSER_PWD() {
        return USER_PWD;
    }

    public void setUSER_PWD(String USER_PWD) {
        this.USER_PWD = USER_PWD;
    }

    public String getIPONE_NUM() {
        return IPONE_NUM;
    }

    public void setIPONE_NUM(String IPONE_NUM) {
        this.IPONE_NUM = IPONE_NUM;
    }
}
